package cn.demoncat.util.fastdfs;

import cn.demoncat.util.fastdfs.config.FdProperties;
import cn.demoncat.util.lang.constant.StringConstant;

/**
 * FastDFS连接：Storage Server
 * 
 * @author 延晓磊
 *
 * @since 2019年11月4日
 */
public class StorageServer extends TrackerServer{

	// Storage Server 列表索引
	private final int store_path_index;

	/**
	 * 创建Storage Server
	 */
	public StorageServer(String ip, int port, int store_path, FdProperties config){
		super(ip + StringConstant.COLON + port, config);
		this.store_path_index = store_path;
	}
 
	public int getStorePathIndex() {
		return this.store_path_index;
	}
}
